package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.helper.PageHelper;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author youli.chen
 * @version v1.0
 * @description: 是否允许公司使用话务中心的翻译功能入参
 * @date 2019/3/15 13:40
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class CallEnableAudioTranslateDTO extends BaseDTO {

    private static final Integer DEFAULT_OPERATE_LOG_PAGE_SIZE = PageHelper.PAGE_SIZE;

    /**
     * 微应用标识，参考CallCenterTypeEnum
     */
    @NotNull(message = "{dto.msg.callEnableAudioTranslate.moduleType.NotNull}")
    private Integer moduleType;

    /**
     * 语音转写功能的能力
     */
    @NotNull(message = "{dto.msg.callEnableAudioTranslate.audioTranslate.NotNull}")
    private Boolean audioTranslate;
}
